@charset "utf-8";
/* CSS Document */
.chatUtils ::-webkit-scrollbar {
    width:5px;
    height: 5px;
}

.chatUtils ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background:rgba(145,192,239,0.7);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);

}

.chatUtils ::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(145,192,239,0.3);

}


.chatUtils .header {
    width: 100%;
    height: 46px;
    line-height: 46px;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    z-index: 11;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 14px;
}

.chatUtils .chat_view {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.chatUtils .footer {

}

.chatUtils .message.me {
    float: right;
    text-align: right;
    clear: right;
}

.chatUtils .message {
    margin-bottom: 16px;
    float: left;
    width: 100%;
}

.chatUtils .message .nickname {
    font-weight: 400;
    padding: 0 10px;
    font-size: 12px;
    height: 22px;
    line-height: 24px;
    color: #4f4f4f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    margin: 0px 0px 3px;
}

.chatUtils .message.me .avatar {
    float: right;
}

.chatUtils .message .avatar {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    float: left;
    cursor: auto;
}

.chatUtils .message.me .content {
    overflow: hidden;
}

.chatUtils .message .content {
    overflow: hidden;
}

.chatUtils .bubble.left:before,.chatUtils .bubble.left:after {
    left: 100%;
}

.chatUtils .bubble.right:before,.chatUtils .bubble.right:after {
    left: -10px;
}

.chatUtils .bubble.bubble_primary.right:after {
    border-right-color: #ffffff;
    border-right-width: 4px;
    border-left-color: transparent;
}

.chatUtils .bubble.right:after {
    border-right-color: #FFF;
}

.chatUtils .bubble.left:after {
    border-left-color: #9fe658;
    border-left-width: 4px;
    border-right-color: transparent;
}

.chatUtils .bubble:before,.chatUtils .bubble:after {
    position: absolute;
    top: 10px;
    border: 6px solid transparent;
    content: " ";
}

.chatUtils .bubble.bubble_default {
    background-color: #9FE658;
}

.chatUtils .bubble.bubble_primary {
    background-color: #fff;
}

.chatUtils .bubble {
    max-width: 80%;
    min-height: 1em;
    display: inline-block;
    vertical-align: top;
    position: relative;
    text-align: left;
    font-size: 14px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    margin: 0 10px;
}

.chatUtils .bubble_cont {
    word-wrap: break-word;
    word-break: break-all;
}

.chatUtils .bubble_cont .plain {
    padding: 5px 10px;
}

.chatUtils .message_system {
    text-align: center;
    margin: 10px auto;
    max-width: 50%;
    font-size: 14px;
    background-color: rgb(184, 184, 185);
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.chatUtils .msg_container:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.chatUtils .btn {
    width: auto;
    text-align: center;
    border-radius: 4px;
    border: 0;
    color: #fff;
    background: #55b3e5;
    padding: 10px 15px;
    display: inline-block;
    font-size: 14px;
    margin: 0 20px;
}

.chatUtils .saveBtn {
    float: right;
    margin: 0;
    margin-top: 5px;
    padding: 0 15px;
    height: 36px;
    line-height: 36px;
}

.chatUtils .footButtonContainer {
    text-align: center;
    display: none;
    margin-bottom: 10px;
}

.chatUtils .btn[disabled] {
    color: #888;
    pointer-events: none;
}

@media only screen and (max-width: 300px) {
    body {
        font-size: 10px;
    }
}

@media only screen and (max-width: 310px) and (min-width: 300px) {
    body {
        font-size: 10px;
    }
}

@media only screen and (max-width: 320px) and (min-width: 310px) {
    body {
        font-size: 10px;
    }
}

@media only screen and (max-width: 360px) and (min-width: 320px) {
    body {
        font-size: 10.5px;
    }
}

@media only screen and (max-width: 360px) and (min-width: 350px) {
    body {
        font-size: 10.5px;
    }
}

@media only screen and (max-width: 480px) and (min-width: 360px) {
    body {
        font-size: 10.5px;
    }
}

@media only screen and (max-width: 480px) and (min-width: 470px) {
    body {
        font-size: 12.3333px;
    }
}

@media only screen and (max-width: 560px) and (min-width: 480px) {
    body {
        font-size: 12.3333px;
    }
}

@media only screen and (max-width: 570px) and (min-width: 560px) {
    body {
        font-size: 13.8333px;
    }
}

@media only screen and (max-width: 640px) and (min-width: 570px) {
    body {
        font-size: 13.8333px;
    }
}

@media only screen and (max-width: 640px) and (min-width: 630px) {
    body {
        font-size: 15.7778px;
    }
}

@media only screen and (max-width: 710px) and (min-width: 640px) {
    body {
        font-size: 15.7778px;
    }
}

.chatUtils {
    margin: 0 auto;
    padding: 10px;
    width: 100%;
    max-width: 1360px;
    height: 100%;
    overflow: hidden;
    background-color: #f7f6f6;
    position: relative;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
}

.chatUtils .talkDialog {
    background: #e2e2e2;
    width: 100%;
    height: 300px;
    margin-top: 10px;
    overflow: auto;
}

.chatUtils .talkDialogback {
    display: none;
    z-index: 999;
    background: #ffffff;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.chatUtils .hisMain {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
    min-width: 500px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.chatUtils .chatIcon {
    height: 100%;
    width: 44px;
    padding: 0 5px;
    background-color: #fff;
    margin-left: 10px;
    border-radius:4px;
}

.chatUtils .chatIcon span i {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 30px;
    color: #999;
}

.chatUtils .chatIcon > span {
    font-size: 14px;
    color: #666;
    text-align: center;
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.chatUtils .chatIcon > span.active,
.chatUtils .chatIcon > span.active > i,
.chatUtils .chatIcon > span:hover,
.chatUtils .chatIcon > span:hover > i {
    color: #84acaf;
}

/*
div.msdn .search:before{
    content: ' ';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid #666;
    border-radius: 50%;
    box-shadow: inset 1px 1px 10px rgba(0,0,0,.3);
    top: 20px;
    right: 10px;
    z-index: 1;
    cursor: pointer;
}
div.msdn .search:after{
    content: "";
    position: absolute;
    width: 12px;
    height: 4px;
    background: #666;
    border-radius: 5px 0 0 5px;
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
    right: 3px;
    bottom: 20px;
    z-index: 1;
    cursor: pointer;
}
*/

/*列表*/

.chatUtils pre {
    margin: 0;
    padding: 0;
    background: transparent;
}

.chatUtils ul,
.chatUtils li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chatUtils .hisMain input.keySearch {
    width: 200px;
    height: 30px;
    margin: 10px 20px 0;
    padding-left: 10px;
    border: 2px solid #84ACAF;
    border-radius: 5px;
    outline: none;
    background: #F9F0DA;
    color: #9E9C9C;
}

.chatUtils .hisMain button.submit {
    position: absolute;
    top: 10px;
    left: 545px;
    width: 72px;
    height: 42px;
    border: none;
    background: #84ACAF;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    color: #fff;
}

.chatUtils .hisMain.searchKeyword ul {
    border-radius: 3px;
    display: inline-block;
    max-width: 1200px;
}

.chatUtils .hisMain.searchKeyword ul.list-head {
    padding: 20px 20px 0;
    height: 40px;
}

.chatUtils .hisMain.searchKeyword ul.list-body {
    padding: 0 0 20px 20px;
    height: 40%;
    overflow: auto;
    flex: 1;
}

.chatUtils .searchKeyword li {
    border-bottom: 1px dotted #d6d6d6;
    display: flex;
}

.chatUtils .searchKeyword ul.list-head li {
    background-color: #84ACAF;
    color: #fff;
}

.chatUtils .searchKeyword li.active {
    background-color: #A3D0C3;
}

.chatUtils .searchKeyword li span {
    width: 150px;
    padding: 10px;
    display: inline-block;
    flex: 1;
}

.chatUtils .chatsForuser {
    overflow: auto;
}

/** 切换专属坐席和普通坐席添加使用**/
.queue-btn {
    display: flex;
    flex-direction: row;
    text-align: center;
    line-height: 36px;
    background: #999999;
    font-size: 16px;
    color: white;
}

.queue-btn div {
    flex: 1;
}

.queue-btn .active {
    background-image: linear-gradient(to bottom, #C9DEFA 0%, #eff2f7 100%);
}

/* 搜索 */

.chatUtils .searchInput .searchBtn{
	width: auto;
    padding: 5px 12px;
    background-color: #84ACAF;
    color: #fff;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
}


/* 上一页&&下一页 */
.chatUtils .chatIcon span.icon{
	width: 44px;
	position: absolute;
}
.chatUtils .chatIcon span.first {
    bottom: 190px;
}

.chatUtils .chatIcon span.last { 
    bottom: 10px;
}
.chatUtils .chatIcon span.prev { 
    bottom: 130px;
}

.chatUtils .chatIcon span.next { 
    bottom: 70px;
}

.chatUtils .chatIcon span.icon i {
    font-size: 24px;
}

.chatUtils .message .content .revoked {
    color: #fffafa;
    font-size: 11px;
    position: absolute;
    left: -50px;
    background-color: rgb(184, 184, 185);
    padding: 3px;
    border-radius: 5px;
}